$w: 10rem;
$c: blue;

// 头部
header {
    width: $w;
    height: 1.3333rem;
    display: flex;
    background: $c;
    justify-content: space-between;

    .logo {
        width: 7.3rem;

        img {
            width: 3.3101rem;
            margin: 0.3333rem;
        }
    }

    .appDown {
        width: 1.28rem;
        img {
            width: 0.9067rem;
            margin: 0.2rem;
        }
    }
}

// 搜索
#search {
    width: $w;
    height: 1.36rem;
    display: flex;
    div.searchIpt input {
        width: 8.52rem;
        height: 0.8rem;
        margin: 0.2rem;
        background: #cecece;
        border-radius: 0.5rem;
        border: none;
        font-size: 0.5rem;
        padding-left: 0.5333rem;
        outline: none;
    }
    div.searchBtn button {
        background: blue;
        width: 1.68rem;
        height: 0.8rem;
        color: #fff;
        border-radius: 0.5rem;
        margin: 0.2rem 0 0.2rem -1.3rem;
        border: none;
        font-size: 0.56rem;
    }
}

// 首页 全部分类 --面包线
.back {
    width: 9.8667rem;
    padding: {
        left: 0.1333rem;
    }
    overflow: hidden;
    border: {
        top: 0.08rem solid #cecece;
        bottom: 0.0267rem solid #cecece;
    }
    background-image: linear-gradient(to top, #cecece, #fff);
    a {
        font: 0.3733rem/0.9333rem "微软雅黑";
        text-decoration: none;
        color: #666;
        &:nth-of-type(4) {
            float: right;
            display: inline-block;
            text-align: center;
            width: 1.5467rem;
            height: 0.7467rem;
            border: 0.0267rem solid #cecece;
            color: #000;
            border-radius: 0.1rem;
            margin-right: 0.1333rem;
            margin-top: 0.0533rem;
        }
    }
}

// 评论区
main {
    width: $w;
    .info {
        border: {
            bottom: .0267rem solid #cecece
        };
        width: 355px;
        padding: 0.2667rem 0.2667rem 0;
        .pic {
            margin-left: 2.6rem;
            img {
                width: 4.5333rem;
            }
        }
        .title {
            margin: 0.1333rem 0;
            font-size: 0.48rem;
            color: #333;
        }

        .col {
            margin-bottom: .2rem;
            span {
                font-size: 0.3467rem;
                color: #333;
                &:nth-of-type(2){
                    margin: {
                        right: 1.8rem;
                    }
                }
            }
        }

        .makeprice{
            margin: {
                bottom: .2667rem;
            }
        }
    }

    .comment{
        width: $w;
        margin-top: .2667rem;
        h4{
            width: $w;
            text-align: center;
            font-weight: normal;
            color: #333;
            font-size: .48rem;
            background: #dbdbdb;
            margin: {
                bottom: .2667rem;
            }
        }

        .content{
            padding: 0.2rem 0.2667rem 0;
            font-size: .3467rem;
            color: #333;
            .up{
                display: flex;
                justify-content: space-between;
                margin-bottom: .2rem;
                margin-top: .2rem;
            }

            .bot{
                overflow: hidden;
                margin-top: .2rem;
                span{
                margin-bottom: .2rem;
                float: right;
                }
                border: {
                    bottom: .0267rem solid #cecece;
                }
            }
        }

    }
}

// 尾部
.footer {
    width: $w;
    background: #f4f4f4;
    height: 5.9768rem;
    div {
        width: $w;
        background: #f4f4f4;
        &:nth-of-type(1) {
            // padding: .2667rem;
            text-align: center;
            padding-top: 0.3rem;
            a {
                display: block;
                color: #333;
                font: 0.3467rem/0.8533rem "微软雅黑";
                border: 0.0267rem solid #cecece;
                border-radius: 0.2rem;

                margin: 0 0.1rem;
            }
        }
        &:nth-of-type(2) {
            background: $c;
            margin: 0.2667rem 0 0.16rem 0;
            height: 0.9333rem;
            display: flex;
            justify-content: space-between;
            span {
                color: #fff;
                font: 0.48rem/0.9333rem "";
                margin-left: 0.2rem;
            }
            a {
                padding: 0 0.2667rem 0 0;
                img {
                    width: 0.5333rem;
                    float: right;
                    margin: 0.2rem 0;
                }
            }
        }
        &:nth-of-type(3) {
            // width: $w;
            border: 0.0267rem solid #cecece;
            border-left: none;
            border-right: none;
            // display: flex;
            // padding: 0 .4rem;
            margin-top: 0.5rem;

            a {
                text-align: center;
                display: block;
                color: #333;
                height: 0.88rem;
                display: inline-block;
                border-right: 0.0267rem solid #cecece;
                font: 0.3733rem/0.88rem "";
                &:nth-of-type(1) {
                    width: 1.6733rem;
                    padding: 0 0.5333rem;
                }
                &:nth-of-type(2) {
                    width: 2.9333rem;
                }
                &:nth-of-type(3) {
                    width: 3.34rem;
                    border-right: none;
                }
            }
        }
    }
    .footTxt {
        text-align: center;
        margin: 0.2rem 0 0.4rem 0;
        p {
            margin: 0.1rem 0;
            a {
                font-size: 0.3467rem;
                color: #333;
            }
        }
    }
}
